package com.scsj.supermarket.base;

import com.scsj.supermarket.bean.QueryTradeDetailBean;

import dkmvp.net.ResponseCallback;
import okhttp3.RequestBody;
import rx.Subscription;

/**
 * Created by Administrator on 2018/6/26.
 * 我的订单列表
 */

public class QueryTradeDetailBase {
    public interface IView {

        void showSuccessMsg(String s, QueryTradeDetailBean queryTradeDetailBean);

        void showErrorMsg(String s);
    }

    public interface IPresenter {

        void deliverData(RequestBody requestBody);
    }

    public interface IModel {

        Subscription getData(RequestBody requestBody, ResponseCallback<QueryTradeDetailBean> callback);
    }
}
